package com.itheima.vip05;
//学生类
public class Student {
    //成员变量
    private String name;
    private int age;

    public void setName(String n){
        name = n;
        }

    public void setAge(int a){
            age = a;
    }

    public String getName(){
        return name;
    }

    public int getAge(){
        return age;
    }

    public void show(){
        System.out.println(name + "，" + age);
    }
}
